package xyz.codingli.servlet;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;

/**
 * @author mizzle rain
 * @date 2021-01-14 22:14
 */
public class ServerJumpServlet extends HttpServlet {
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        resp.getWriter().println("yaya");
        req.setAttribute("name", "Lisa");
        req.getRequestDispatcher("hello").forward(req, resp);
    }
}
